<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>单边阴影</title>
        <style>
            .shadow-item{margin:24px;line-height:120px;text-align:Center;font-size:12px;color:#fff;}
            .outshadow{
                width:120px;
                height:120px;
                background:#0C58A7;
                box-shadow: 8px 2px 2px -4px rgba(0,0,0,0.8);
            }
            .outshadow2{
                width:120px;
                height:120px;
                background:#0C58A7;
                box-shadow: 2px 8px 2px -4px rgba(0,0,0,0.8);
            }
            .outshadow3{
                width:120px;
                height:120px;
                background:#0C58A7;
                box-shadow: 2px -8px 2px -4px rgba(0,0,0,0.8);
            }
            .outshadow4{
                width:120px;
                height:120px;
                background:#0C58A7;
                box-shadow: -8px 2px 2px -4px rgba(0,0,0,0.8);
            }
            .outshadow5{
                width:120px;
                height:120px;
                background:#0C58A7;
                box-shadow: 0px 0px 2px 4px rgba(0,0,0,0.8);
            }
        </style>
    </head>
    <body>
        <h1>css box-shadow详解,以及box-shadow立体按钮，box-shadow 四周阴影，box-shadow 单边阴影的实现</h1>
        <p>来源:<a href="http://www.webfront-js.com/articaldetail/55.html">http://www.webfront-js.com/articaldetail/55.html</a></p>
        <div class='art_context2'>
         <div class="shadow-item outshadow">右边阴影</div>
            <div class="shadow-item outshadow2">下边阴影</div>
           <div class="shadow-item outshadow3">上边阴影</div>
           <div class="shadow-item outshadow4">左边阴影</div>
           <div class="shadow-item outshadow5">四周阴影</div>
        </div>
    </body>
</html>